package ioc02.controller;

import ioc02.entity.User;
import ioc02.service.UserService;

/**
 * Author：汤小洋
 * Date：2023-09-19 11:22
 * Description：<描述>
 */
public class UserController {

    private UserService userService;

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public User login(String username,String password){
        return userService.login(username,password);
    }

}
